﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Admin.Core.Service.Xsproject.TaskItem.Output
{
    public class TaskItemListOutput
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 任务/阶段 名称
        /// </summary>
        public string Name { get; set; }

        public long ProjectId { get; set; }

        /// <summary>
        /// 计划开始实际
        /// </summary>
        public DateTime? PlanBeginDate { get; set; }

        /// <summary>
        /// 计划结束实际
        /// </summary>
        public DateTime? PlanEndDate { get; set; }


        /// <summary>
        /// 实际开始实际
        /// </summary>
        //public DateTime? ActualBeginDate { get; set; }

        /// <summary>
        /// 实际结束实际
        /// </summary>
        //public DateTime? ActualEndDate { get; set; }


        /// <summary>
        /// 任务完成进度
        /// </summary>
        //public double Progress { get; set; }

        
        /// <summary>
        /// 任务状态  0 待处理  1 处理中  2 已完成
        /// </summary>
        public string TaskFlag { get; set; }
        

        /// <summary>
        /// 父级数据的id
        /// </summary>
        public long? ParentId { get; set; }


        /// <summary>
        /// 父级数据的id
        /// </summary>
        public long? ResponName { get; set; }

        /// <summary>
        /// 子对象
        /// </summary>
        public List<TaskItemListOutput> Children { get; set; }


        /// <summary>
        /// 阶段状态  -1未就绪  0待处理   1进行中， 2已完成
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

    }
}
